<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<jsp:include page="/base.jsp" />
<meta charset="UTF-8">
<meta name="author" content="order by dede58.com" />
<title>我的购物车-小米商城</title>
<link rel="stylesheet" type="text/css" href="mall/css/style.css">
</head>
<body>
	<!-- start header -->
	<!--end header -->

	<!-- start banner_x -->
	<%@ include file="top.jsp"%>


	<!--end header -->
	<%@ include file="header.jsp"%>
	<!-- start banner_x -->
	<div class="xiantiao"></div>
	<div class="gwcxqbj">
		<div class="gwcxd center">
			<div class="top2 center">
				<div class="sub_top fl"></div>
				<div class="sub_top fl">商品名称</div>
				<div class="sub_top fl">单价</div>
				<div class="sub_top fl">数量</div>
				<div class="sub_top fl">小计</div>
				<div class="sub_top fr">操作</div>
				<div class="clear"></div>
			</div>
			<c:forEach items="${shopCar}" var="shopCar">
				<div class="content2 center">
					<div class="sub_content fl"></div>

					<div class="sub_content fl">
						<img src="${shopCar.product.proPhoto}"
							style="height: 70px; width: 80px">
					</div>
					<div class="sub_content fl ft20">${shopCar.product.proName}</div>
					<div class="sub_content fl ">${shopCar.product.proPrice}</div>
					<div class="sub_content fl">${shopCar.count}</div>
					<div class="sub_content fl">${shopCar.product.proPrice*shopCar.count}</div>
					<div class="sub_content fl">
						<a href="shop/deleteShopCar?id=${shopCar.product.rowId}">×</a>
					</div>
					<div class="clear"></div>
				</div>
			</c:forEach>


		</div>
		<div class="jiesuandan mt20 center">
			<div class="tishi fl ml20">
				<ul>
					<li><a href="shop/goLiebiao">继续购物</a></li>
					<div class="clear"></div>
				</ul>
			</div>
			<div class="jiesuan fr">
				<div class="jiesuanjiage fl">
					合计（不含运费）：<span>${sum}元</span>
				</div>
				<form action="shop/goOrder">
				<div class="jsanniu fr">
					<input class="jsan" type="submit" name="jiesuan" value="去结算" />
				</div>
				</form>
				<div class="clear"></div>
			</div>
			<div class="clear"></div>
		</div>

	</div>




	<!-- footer -->
	<%@ include file="foot.jsp"%>
</body>
</html>
